package com.pinda.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "work-service", path = "/pd-transport-order",url = "http://localhost:2008")
public interface SavePdTransportOrderFeign {

    /**
     * 快递员收件完成往运单表添加新的运单
     * @param orderId
     * @return
     */
    @GetMapping("/savePdTransportOrder/{orderId}")
    public Boolean savePdTransportOrder(@PathVariable("orderId") String orderId);
}
